package com.zzyl.mapper;

import com.zzyl.dto.FloorDto;
import com.zzyl.entity.Floor;
import com.zzyl.vo.FloorVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FloorMapper {

    //添加楼层
    void addFloor(Floor floor);

    //查询楼层
    FloorVo getFloor(Long id);

    //获取所有楼层
    List<FloorVo> getAllFloors();

    //删除楼层
    void deleteFloos(Long id);

    //修改楼层
    void updateFloor(Floor floor);

    List<FloorVo> selectAllRoomAndBed();

    List<FloorVo> selectAllByNur();


}
